<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/22
 * Time: 16:52
 */
namespace app\model;

use think\Model;

class CollectionCo extends Model{

    // 设置当前模型对应的完整数据表名称   用户收藏视频集锦表
    protected $table = 'collection_co';

    //模型连接数据库
    protected $connection  = 'wq';

//    //关联视频表
//    public function getCollection(){
//
//        return $this->hasMany('CollectionM','id','collection_id');
//    }
}